package com.meixun.xuanke.user.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

public interface LoginLogDao {

    /**
     *
     * @param UserID
     * @param LoginIP
     * @param LoginPort
     * @param proxyIPPort
     * @param LoginSource
     */
    @Insert("insert into login(UserID,LoginIP,LoginPort,proxyIPPort,success,LoginSource) values(#{arg0},#{arg1},#{arg2},#{arg3},1,#{arg4});")
    void addLoginLog(@Param("arg0") String UserID
            , @Param("arg1") String LoginIP
            , @Param("arg2") String LoginPort
            , @Param("arg3") String proxyIPPort
            , @Param("arg4") String LoginSource
    );

}
